
package gui;

import java.awt.GridBagLayout;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;

/**
 *
 * @author JtR
 */
public class BlockingDialog extends JDialog {
    private JLabel text;
    
    public BlockingDialog(JFrame parent) {
        super(parent, true);
        setSize(300, 200);
        setLocationRelativeTo(null);
        setLayout(new GridBagLayout());
        text = new JLabel("Ihr Getränk wird zubereitet!");
        setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
        
        add(text);
    }
}
